package lab02.test35;

public abstract class Employee {
    double salary;
    String name;


    public Employee(String name) {
        this.name = name;
    }

    public abstract void computeSalary();

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public double getSalary() {
        return salary;
    }

    public String getName() {
        return name;
    }
}
